<script>

$('#tabs_bar').hide();
$('#repo_details').hide();

//update pull request
$.post('/svnapproval/request/pendentcount/', function(data) 
{
			 $('#counter_pull').html(data);
});


</script>




<div id="dashboard">
  <div class="news">

    

<?          

//print_r($this->logs) ; 

foreach ($this->commits as $log)
{
?>
        
        
        <div class="alert push"><div class="body"><div class="title">
  <a href="/Nachtfalkeaw"><? echo $log->author ?></a> commited to approval at <time class="js-relative-date"><? echo $log->date ?></time>
</div>
<div class="details">
  <div class="gravatar"><img width="30" height="30" src="https://secure.gravatar.com/avatar/5cbd4204284605c887bcdc7332e5f3d4?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"></div>

  <div class="commits">
    <ul>
      <li>
        <code><a href="#">revision #<? echo $log->revision  ?></a></code>

        <div class="message">
          <blockquote title="Update pkg_config.8.xml.amd64">
          
          <?php    $files = explode(" ",$log->files) ; 
          
          foreach ($files as $row_file )
          {
          	if($row_file != "")
          	{ 
          		echo $row_file."<br>" ;
          	} 
          }
          ?>
          </blockquote>
        </div>
      </li>
    </ul>
  </div>
</div>
</div></div>
     
        
        
<?} ?>
        
        
  </div>


  


    <div id="your_repos" class="repos">
      <div class="top-bar">
        <h2>Your Repositories <em>(<? echo sizeof($this->projects) ?>)</em></h2>
      </div>
        
        <ul class="repo_list" id="repo_listing">
          
          
<?          
foreach ($this->projects as $row)
{
?>

 <li class="public source">
 
 <a href="/svnapproval/index/changeproject/?id=<? echo $row->id ?>" >
 
 <span class="owner"><? echo $this->username  ?></span>/<span class="repo"><? echo $row->name ?></span>

</a>
    
  </li>
  


<?} ?>



          
  
  
  

        </ul>
      <div class="bottom-bar">
      </div>
    </div>

      <div id="watched_repos" class="repos watching">
        <div class="top-bar">
          <h2>Default Repository</h2>
        </div>
     
        <ul id="watched_repo_listing" class="repo_list">
          
  <li class="public source">
    <a href="/svnapproval/file/">
      <span class="owner"><? echo $_SESSION['Zend_Auth']['username'] ?></span>/<span class="repo"><? echo $_SESSION['Zend_Auth']['project_name'] ?></span>
    </a>
  </li>

        </ul>
        <div class="bottom-bar">
        </div>
     </div>
</div>